<!--
 * @Description: 
 * @Date: 2022-08-09 17:57:27
 * @LastEditTime: 2022-08-12 16:58:07
 * @FilePath: \jsnode\es6\letCount.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>let和count</title>
</head>
<body>
    <script>
        console.log('name1:'+myName+" age1:")
        function change(){
            var age = 18
            let myName = '张三'
            console.log('name2:'+myName+" age2:"+age)
        }
        change()
        var myName = '李四'
        console.log('name3:'+myName+" age3:"+age)
    </script>
</body>
</html>